package com.lianzhihui.romeex.widget.dialog;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.lianzhihui.romeex.R;
import com.lianzhihui.romeex.inter.DialogListener;
import com.lianzhihui.romeex.ui.base.BaseDialog;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Description: 密码验证通用 弹窗
 * Author: RAMON
 * CreateDate: 2020/9/10 10:06 AM
 * UpdateUser:
 * UpdateDate:
 * UpdateRemark:
 * Version:
 */
public class HuaZhuanSucDialog extends BaseDialog {


    Activity activity;

    public HuaZhuanSucDialog(@NonNull Activity activity) {
        super(activity);
        this.activity = activity;
    }

    @Override
    protected int provideViewId() {
        return R.layout.dialog_huazhuan_suc;
    }

    @Override
    protected void initView() {


    }


    @OnClick({R.id.bt_yes})
    public void onClick(View view) {
        switch (view.getId()) {

            case R.id.bt_yes:
                // 知道了
                dismiss();
                activity.finish();
                break;
            default:
                break;
        }
    }

}
